package com.josework.springhelloworld;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@MapperScan(basePackages = {"com.josework.springhelloworld.mapper"})
public class SpringhelloworldApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext run = SpringApplication.run(SpringhelloworldApplication.class, args);

//		String[] beanDefinitionNames = run.getBeanDefinitionNames();
//		for ( String s: beanDefinitionNames){
//			System.out.println(s);
//		}
	}

}
